<!--@if(count($comment_list))-->
	<ul>
	<!--@foreach($comment_list as $key => $val)-->
	<li>
		<p>{htmlspecialchars($val->content)}</p>
		<span class="auth">
			<em>{$val->nick_name}</em>
			<span class="time">{zdate($val->regdate, "Y-m-d H:i")}</span>
		</span>
		<!--@if($grant->manager || $val->member_srl == $logged_info->member_srl)-->
		<a href="#" onclick="if(confirm('{$lang->confirm_delete}')) doDeleteComment({$parent_srl},{$val->reply_srl}); return false;" class="btn de">[{$lang->cmd_delete}]</a>
		<!--@end-->
	</li>
	<!--@end-->
	</ul>

	<!--@if($page_navigation->total_page>1)-->
	<div class="pn">
		<!--@if($page_navigation->cur_page > 1)-->
		<a href="#" onclick="doGetComments({$parent_srl}, {$page_navigation->cur_page-1}); return false;" class="prev">{$lang->cmd_prev}</a>
		<!--@endif-->
		<strong id="curpage">{$page_navigation->cur_page} / {$page_navigation->last_page}</strong>
		<!--@if($page_navigation->cur_page < $page_navigation->last_page)-->
		<a href="#" onclick="doGetComments({$parent_srl}, {$page_navigation->cur_page+1}); return false;" class="next">{$lang->cmd_next}</a>
		<!--@endif-->
	</div>
	<!--@end-->
<!--@else-->
	<p>{$lang->msg_no_article}</p>
<!--@end-->

<!--@if($grant->write_reply)-->
	<form action="./" method="post" class="ff" onsubmit="return procFilter(this, insert_comment);">
		<input type="hidden" name="mid" value="{$mid}" />
		<input type="hidden" name="parent_srl" value="{$parent_srl}" />
		<label for="opinion">{$lang->cmd_do_comment}</label>
		<textarea name="content" id="opinion" rows="5" cols="20"></textarea>
		<div class="bna">
			<button type="submit" class="bn dark">{$lang->cmd_registration}</button>
		</div>
	</form>
<!--@end-->
